@echo off 
if "%1" == "h" goto begin 
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit 
:begin 
if exist %~dp0nginx\temp (
   echo 'temp folder exist!'
) else (
md %~dp0nginx\temp
)
if exist %~dp0nginx\logs (
   echo 'logs folder exist!'
) else (
md %~dp0nginx\logs
)
CD /D %~dp0/nginx
nginx.exe
exit